<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1{
            width: 1000px;
            height: 1000px;
            background-color: yellow;
            /* 
                repeat: 默认平铺
                repeat-x/y: x/y轴平铺
                no-repeat: 不平铺 
            */
            background-image: url(jpg/2.png);

            background-repeat: no-repeat;

            background-position: 10% 10%;

            /*
                1.20px 20px
                2.10% 10%
                3.left center right
            */
        }
    </style>
</head>
<body>
    <div class="box1"></div>
</body>
</html>